package cn.hust.springboot.mapper;

import cn.hust.springboot.bean.Emptrain;
import cn.hust.springboot.bean.EmptrainExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmptrainMapper {
    long countByExample(EmptrainExample example);

    int deleteByExample(EmptrainExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Emptrain row);

    int insertSelective(Emptrain row);

    List<Emptrain> selectByExample(EmptrainExample example);

    Emptrain selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Emptrain row, @Param("example") EmptrainExample example);

    int updateByExample(@Param("row") Emptrain row, @Param("example") EmptrainExample example);

    int updateByPrimaryKeySelective(Emptrain row);

    int updateByPrimaryKey(Emptrain row);

    List<Emptrain> query(String name);

    List<Emptrain> getEmptrainAndEmp();
}